package com.shazhu.nongjt.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.shazhu.common.annotation.Excel;
import com.shazhu.common.core.domain.BaseEntity;

/**
 * 检查记录对象 njt_inspection_record
 * 
 * @author shazhu
 * @date 2025-09-29
 */
public class NjtInspectionRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 合格证ID */
    @Excel(name = "合格证ID")
    private Long qualificationId;

    /** 合格证编号 */
    @Excel(name = "合格证编号")
    private String qualificationNo;

    /** 检查人员ID */
    @Excel(name = "检查人员ID")
    private Long inspectorId;

    /** 检查人员姓名 */
    @Excel(name = "检查人员姓名")
    private String inspectorName;

    /** 检查部门ID */
    @Excel(name = "检查部门ID")
    private Long inspectionDeptId;

    /** 检查部门名称 */
    @Excel(name = "检查部门名称")
    private String inspectionDeptName;

    /** 被检查主体完善信息ID */
    @Excel(name = "被检查主体完善信息ID")
    private Long userPerfectId;

    /** 被检查主体名称 */
    @Excel(name = "被检查主体名称")
    private String subjectName;

    /** 检查产品名称 */
    @Excel(name = "检查产品名称")
    private String productName;

    /** 检查地点 */
    @Excel(name = "检查地点")
    private String inspectionLocation;

    /** 检查时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "检查时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date inspectionTime;

    /** 合格证开具是否规范 */
    @Excel(name = "合格证开具是否规范")
    private Integer isQualificationStandard;

    /** 是否使用禁限用农药 */
    @Excel(name = "是否使用禁限用农药")
    private Integer isForbiddenPesticide;

    /** 检查意见 */
    @Excel(name = "检查意见")
    private String inspectionOpinion;

    /** 删除标记 */
    private Long delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setQualificationId(Long qualificationId) 
    {
        this.qualificationId = qualificationId;
    }

    public Long getQualificationId() 
    {
        return qualificationId;
    }

    public void setQualificationNo(String qualificationNo) 
    {
        this.qualificationNo = qualificationNo;
    }

    public String getQualificationNo() 
    {
        return qualificationNo;
    }

    public void setInspectorId(Long inspectorId) 
    {
        this.inspectorId = inspectorId;
    }

    public Long getInspectorId() 
    {
        return inspectorId;
    }

    public void setInspectorName(String inspectorName) 
    {
        this.inspectorName = inspectorName;
    }

    public String getInspectorName() 
    {
        return inspectorName;
    }

    public void setInspectionDeptId(Long inspectionDeptId) 
    {
        this.inspectionDeptId = inspectionDeptId;
    }

    public Long getInspectionDeptId() 
    {
        return inspectionDeptId;
    }

    public void setInspectionDeptName(String inspectionDeptName) 
    {
        this.inspectionDeptName = inspectionDeptName;
    }

    public String getInspectionDeptName() 
    {
        return inspectionDeptName;
    }

    public void setUserPerfectId(Long userPerfectId) 
    {
        this.userPerfectId = userPerfectId;
    }

    public Long getUserPerfectId() 
    {
        return userPerfectId;
    }

    public void setSubjectName(String subjectName) 
    {
        this.subjectName = subjectName;
    }

    public String getSubjectName() 
    {
        return subjectName;
    }

    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }

    public void setInspectionLocation(String inspectionLocation) 
    {
        this.inspectionLocation = inspectionLocation;
    }

    public String getInspectionLocation() 
    {
        return inspectionLocation;
    }

    public void setInspectionTime(Date inspectionTime) 
    {
        this.inspectionTime = inspectionTime;
    }

    public Date getInspectionTime() 
    {
        return inspectionTime;
    }

    public void setIsQualificationStandard(Integer isQualificationStandard) 
    {
        this.isQualificationStandard = isQualificationStandard;
    }

    public Integer getIsQualificationStandard() 
    {
        return isQualificationStandard;
    }

    public void setIsForbiddenPesticide(Integer isForbiddenPesticide) 
    {
        this.isForbiddenPesticide = isForbiddenPesticide;
    }

    public Integer getIsForbiddenPesticide() 
    {
        return isForbiddenPesticide;
    }

    public void setInspectionOpinion(String inspectionOpinion) 
    {
        this.inspectionOpinion = inspectionOpinion;
    }

    public String getInspectionOpinion() 
    {
        return inspectionOpinion;
    }

    public void setDelFlag(Long delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("qualificationId", getQualificationId())
            .append("qualificationNo", getQualificationNo())
            .append("inspectorId", getInspectorId())
            .append("inspectorName", getInspectorName())
            .append("inspectionDeptId", getInspectionDeptId())
            .append("inspectionDeptName", getInspectionDeptName())
            .append("userPerfectId", getUserPerfectId())
            .append("subjectName", getSubjectName())
            .append("productName", getProductName())
            .append("inspectionLocation", getInspectionLocation())
            .append("inspectionTime", getInspectionTime())
            .append("isQualificationStandard", getIsQualificationStandard())
            .append("isForbiddenPesticide", getIsForbiddenPesticide())
            .append("inspectionOpinion", getInspectionOpinion())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
